public class IndexOutBoundsException extends RuntimeException {
    public IndexOutBoundsException(String msg) {
        /**
         * 自定义异常*/
        System.out.println(msg);
        printStackTrace();
    }
}
